package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import com.alibaba.fastjson.annotation.JSONField;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 
 *
 * @author code-generate
 * @date 2022-01-05
 */
@Data
@DbTable(tableName = "t_feedback")
public class Feedback extends BaseEntity {
        /**
     * 问题描述
     */
    @DbTableField(columnName = "c_content", dbType = DbTypeEnum.VARCHAR)
    public String content ;

    /**
     * 解决日期 
     */
    @DbTableField(columnName = "c_date", dbType = DbTypeEnum.TIMESTAMP)
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    public LocalDateTime date ;

    /**
     * 菜单id
     */
    @DbTableField(columnName = "c_menu_id", dbType = DbTypeEnum.VARCHAR)
    public String menuId ;

    /**
     * 菜单名称
     */
    @DbTableField(columnName = "c_menu_name", dbType = DbTypeEnum.VARCHAR)
    public String menuName ;

    /**
     * 是否解决
     */
    @DbTableField(columnName = "c_state", dbType = DbTypeEnum.BIT)
    public Boolean state ;

    /**
     * 部门Id
     */
    @DbTableField(columnName = "c_dept_id", dbType = DbTypeEnum.VARCHAR)
    public String deptId ;

    /**
     * 部门名称
     */
    @DbTableField(columnName = "c_dept_name", dbType = DbTypeEnum.VARCHAR)
    public String deptName ;

    /**
     * 创建人
     */
    @DbTableField(columnName = "c_db_create_name", dbType = DbTypeEnum.VARCHAR)
    public String dbCreateName ;

    /**
     * 系统名称
     */
    @DbTableField(columnName = "c_name", dbType = DbTypeEnum.VARCHAR)
    public String name ;


}
